<?php echo $this->message;?>
<?php echo $this->form;?>
<?php if($this->code == 1):?>
<script type="text/javascript">
                        $(document).ready(function(){
                            setTimeout('change();', 3000);
                        });
    
                        function change(){
        //alert('Alex'); 
                         window.location = "<?php echo $this->url(array('controller'=>'auth','action'=>'login')); ?>"
                    }
                </script>
<?php endif; ?>

